<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<table id="sample-table-2" class="table table-striped table-bordered table-hover">
    <thead>
    <tr>
        <th class="center">账号</th>
        <th class="center">名称</th>
        <th class="center">操作</th>
    </tr>
    </thead>
    <tbody>
        <tr th:each="user:${page.result}">
            <td th:text="${user.id}"></td>
            <td th:text="${user.name}"></td>
            <td>
                <button th:onclick='${"deleteById(&apos;"+user.id+"&apos;)"}' class="btn btn-xs btn-danger">
                    <i class="icon-trash bigger-120"></i>
                </button>
                <button th:onclick='${"resetPwd(&apos;"+user.id+"&apos;)"}' class="btn btn-xs btn-warning">
                    重置密码(a123456)
                </button>
            </td>
        </tr>
        <tr>
            <td colspan="6" align="center">
                <div th:replace="fragments/paging :: paging"></div>
            </td>
        </tr>
    </tbody>
</table>

</html>